// 获取随机图片
export const getRandomImage = () => {
  const api = 'https://unsplash.it'
  const randomId = Math.random() * 10
  const width = 1920
  const height = 1080
  let url = `${api}/${width}/${height}?random=${parseInt(randomId.toString(), 10)}`
  return url
}
